package com.bugjpa.service;

import com.bugjpa.domain.Bug;
import com.bugjpa.domain.BugLevel;
import org.springframework.data.domain.Page;

import javax.servlet.http.HttpServletRequest;
import java.util.List;
import java.util.Map;

/**
 * @author: mayuanbao
 * @date: 2019-01-13 21:54
 * @description:
 */
public interface IBugService {
    Page<Bug> findAll(int page, int limit);
    Long count();
    List<Object[]> findGroupByLevel();
    List<Map<String, String>> findGroupByLevels();
}
